package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50)"`
	Password string `gorm:"type:varchar(50)"`
}
type Video struct {
	gorm.Model
	Title   string `gorm:"type:varchar(50)"`
	Comment string `gorm:"type:varchar(50)"`
	Author  string `gorm:"type:varchar(50)"`
}
type Good struct {
	gorm.Model
	GoodName  string `gorm:"type:varchar(50)"`
	GoodPrice string `gorm:"type:varchar(50)"`
	GoodNum   string `gorm:"type:varchar(50)"`
}
type Order struct {
	gorm.Model
	Gid         int    `gorm:"type:int"`
	OrderPrice  string `gorm:"type:varchar(50)"`
	OrderTime   string `gorm:"type:varchar(50)"`
	OrderPeople string `gorm:"type:varchar(50)"`
}
type GoodOrder struct {
	GoodOrderId int
	GoodName    string
	GoodPrice   string
	GoodNum     string
	OrderPrice  string
	OrderTime   string
	OrderPeople string
}
